﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="staff_form.aspx.cs" Inherits="Xnjc_staff_form" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head runat="server">
    <title>个人工作情况</title>

    <script language="Javascript">
        function setUser(userID, userName) {
            document.getElementById("userID").value = userID;
            document.getElementById("userName").value = userName;
        }
        function mouseMove(trname) {
            return;
            var hidden3 = document.getElementById("hidden3");
            hidden3.value = trname.style.backgroundColor;
            trname.style.backgroundColor = '#caf7fd';
        }
        function mouseOut(trname) {
            return;
            var hidden3 = document.getElementById("hidden3");
            trname.style.backgroundColor = hidden3.value;
        }
    </script>

    <script type="text/javascript" src="../ScriptFile/calendar.js"></script>

    <script type="text/javascript" src="../ScriptFile/lang/calendar-zh.js"></script>

    <script type="text/javascript" src="../ScriptFile/calendar-setup.js"></script>

    <link rel="stylesheet" type="text/css" media="all" href="../ScriptFile/skins/aqua/theme.css"
        title="win2k-cold-1" />

    <script type="text/javascript" src="../ScriptFile/common.js"></script>

    <link href="../css/page.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form name="queryForm" action="staff_assess.aspx" method="post" onsubmit="return(checkFormForStepAssess())"
        target="right">
        <input type="hidden" name="displayType" value="" />
        <table height="480px" cellspacing="0" cellpadding="0" align="center" border="0" class="tab">
            <tr>
                <th>
                    办件类型</th>
            </tr>
            <tr height="100%">
                <td>
                    <select name="wname" id="wname" size="10" style='width: 100%; height: 100%; border: 0'
                        onclick="selectWorkflow()">
                        <%=strhtml1   %>
                    </select>
                     <input type="text" name="hidWname" id="hidWname" value="<%=wname%>" />
                </td>
            </tr>
            <tr>
                <th>
                    岗位名
                </th>
            </tr>
            <tr>
                <td>
                    <input type="text" name="stepName" id="stepName" value="<%=stepName%>" />
                </td>
            </tr>
            <tr>
                <th>
                    工作人员
                </th>
            </tr>
            <tr>
                <td>
                    <select name="userID">
                        <%=strhtml2   %>
                    </select>
                </td>
            </tr>
            <tr>
                <th>
                    时间间隔
                </th>
            </tr>
            <tr>
                <td>
                    <select name="intervalType">
                        <option value="day">天</option>
                        <option value="month">月</option>
                        <option value="year">年</option>
                    </select>
                </td>
            </tr>
            <tr>
                <th>
                    个人接收时间
                </th>
            </tr>
            <tr>
                <td>
                    <input type="text" name="timeFromOfAccept" value="<%=timeFromOfAccept%>" /><img src="../images/alarm.png"
                        id="fromImg" />
                    <input type="text" name="timeToOfAccept" value="<%=timeToOfAccept%>" /><img src="../images/alarm.png"
                        id="toImg" />
                </td>
            </tr>
            <tr>
                <td>
                    <input name="Submit3" type="submit" class="NewButton" value="提交" />
                    <input name="Submit3" type="reset" class="NewButton" value="重置" />
                    <input name="Submit3" type="button" class="NewButton" value="图表" onclick="if(checkFormForStepAssess())showAsChart();else return false;" />
                </td>
            </tr>
        </table>
    </form>

    <script src="../ScriptFile/common.js"></script>

    <script>
        onloadFunction();
        function setWorkflow(wname) {
            document.getElementById("wname").value = wname;
            return false;
        }
        function setStep(wname, step) {
            document.getElementById("wname").value = wname;
            document.getElementById("stepName").value = step;
            document.forms["queryForm"].action = "staff_form.aspx";
            document.forms["queryForm"].target = "_self";
            document.forms["queryForm"].submit();
            return true;
        }
        function setDepartment(orderID, departName) {
            document.getElementById("orderID").value = orderID;
            document.getElementById("departName").value = departName;
        }
    </script>

</body>
</html>